package com.codedancer.campus.manager.api.school.ro;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;
import lombok.Data;

@Data
@ApiModel("学校添加或修改Ro")
public class SchoolAddOrUpdateRo {

    @ApiModelProperty("学校名称")
    @NotEmpty(message = "请输入学校名称")
    @Size(min = 4,max = 12,message = "学校名称在4-12位")
    private String name;
}
